#!/system/bin/sh
mount -o remount,rw /system 2>/dev/null
for m in /dev/block/mtdblock*
do
mount -o remount,rw $m /system 2>/dev/null
done
echo " Thank you for trying BMc's Powerboost script...feedback is appreciated"
echo ""
echo " Restoring services.jar" 
cp /sdcard/unthrottle/services.bak /system/framework/services.jar
echo ""
echo "" 
echo " Restoring build.prop" 
cp /sdcard/unthrottle/build.prop.old /system/build.prop 
echo ""
echo "disabling cron"
rm data/cron
echo ""
echo "disabling sysctl"
cp /sdcard/unthrottle/sysctl.fnoc /system/etc/sysctl.conf
echo " Restore complete"

mount -o remount,ro /system 2>/dev/null
for m in /dev/block/mtdblock*
do
mount -o remount,ro $m /system 2>/dev/null
done
echo " Modifications Complete"
echo ""
echo ""
echo " =====Your 1ST reboot may take SEVERAL minutes====="
echo ""
echo ""
echo " =====REBOOT NOW====="
echo " =====REBOOT NOW====="
echo " =====REBOOT NOW====="
echo ""

